<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<script>
$(function(){
//취소버튼 눌렀을때 confirm창이 뜬다.
$("#cancel").click(function(){
	if(confirm("글작성을 취소하시겠습니까?")){
		location.href="${initParam.root}public/getPublicBoardList.do"; 
	}
	});
});
</script>
<form action="auth_replyBoardWrite.do" method="post"  enctype="multipart/form-data" id="writeF">
	<input type="hidden" name="ref" value="${requestScope.bvo.ref}">
	<input type="hidden" name="restep" value="${requestScope.bvo.restep}">
	<input type="hidden" name="relevel" value="${requestScope.bvo.relevel}">
	<input type="hidden" name="no" value="${requestScope.bvo.no}">
		<table width="550">
			<tr>
				<td align="right">Title</td>
				<td><input size="65" type="text" name="title" value="${requestScope.bvo.title }" id="title" readonly="readonly"></td>
			</tr>
			<tr>
				<td align="right" valign="top">
					Content
				</td>
				<td>
					<textarea rows="15" cols="57" name="content" id="content" style="resize: none;">${requestScope.bvo.content }
--- 답글 ---
</textarea>
				</td>
			</tr>
			<tr>
				<td rowspan="3" align="right" valign="top">File<br>Attachment</td>
				<td>
					<input type="button" name="fileDelete" value="파일삭제" id="fileDelete">
					<input type="file" name="files[0]" id="fileUpload">
				</td>
			</tr>
			<tr>
				<td>
					<input type="button" name="fileDelete" value="파일삭제" id="fileDelete1">
					<input type="file" name="files[1]" id="fileUpload1">
				</td>
			</tr>
			<tr>
				<td>
					<input type="button" name="fileDelete" value="파일삭제" id="fileDelete2">
					<input type="file" name="files[2]" id="fileUpload2">
				</td>
			</tr>
			<tr>
				<td colspan="2" align="right" style="padding-right: 25px;">
					<input type="button" name="cancel" id="cancel" value="취소">
					<input type="submit" value="확인">
				</td>
			</tr>
		</table>
	</form>










